package com.zxjbyte.yiyi.framework.oss.storage.db;

import com.zxjbyte.yiyi.framework.oss.storage.OssConfig;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;

/**
 * @Author zhangxingjia
 * @Date 2023/5/24 18:54
 * @Version: 1.0
 */
@Data
public class DbOssConfig implements OssConfig {

    // 自定义域名
    @NotBlank(message = "自定义域名不能为空")
    @URL(message = "自定义域名格式错误，必须为URL格式")
    private String domain;
}
